import request from '@/utils/request'

// 查询菜单列表
export function listNSRectification(query) {
  return request({
    url: '/goldwind/performance/pt-target-resolve-detail/selectPageForRectify',
    method: 'get',
    params: query
  })
}

// 导出菜单列表
export function exportNSRectification(query) {
  return request({
    url: '/goldwind/performance/pt-target-resolve-detail/selectPageForRectify',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}

// 填报审核接口
export function addNSRectification(data) {
  return request({
    url: '/goldwind/performance/pt-target-resolve-detail/issueRectify',
    method: 'post',
    data
  })
}